package com.jumi.microservice.framework;

import org.springframework.stereotype.Component;
/**
 * 读取项目相关配置
 * @author ssk
 * @create 2020/8/1 17:53
 **/
@Component
public class SupplyConfig {


    public static String getProfile()
    {
        return "/profile";
    }
    /**
     * 获取下载路径
     */
    public static String getDownloadPath()
    {
        return getProfile()+"/download/";
    }

    /**
     * 获取上传路径
     */
    public static String getUploadPath()
    {
        return  getProfile()+"/upload";
    }
}
